home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
graphics
/
fxforge
/
toadies
/
3d checkers
next >
Wrap
Text File
|
1999-06-15
|
732b
|
23 lines
Category: Toadies
Title: 3D Checkers...
Copyright: Copyright © 1996 Ilyich the Toad. Freeware, contact ilyich@ioc.ac.rufor more. Partial © Alfredo Mateus
Author: Ilyich the Toad
Filename: t_Mapped_Checkers.8bf
R:put(scl(i,0,255,val(1,0,X),-val(1,0,X)),0),put(scl(i,0,255,val(2,0,Y),-val(2,0,Y)),1),sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
G:sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
B:sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
A:c
ctl[0]: Checker size
ctl[1]: X-strength
ctl[2]: Y-strength
val[0]: 5
val[1]: 27
val[2]: 16